﻿using Dsl.Ped.AddIn.Java.Generated;
using Dsl.Ped.AddIn.Java.Resources;

namespace Dsl.Ped.AddIn.Java.Helpers
{
    /// <summary>
    /// Helper methods of <see cref="Parameter"/>
    /// </summary>
    public static class ParameterHelper
    {
        public static string ToPlainText(this Parameter parameter)
        {
            return string.Format("{0}{1}{0} {2}", JavaResources.KeyWordsDelimiter, parameter.type, parameter.name);
        }
    }
}
